C forking program [closed]
Posted
by walas
on Stack Overflow
See other posts from Stack Overflow
or by walas
Published on 2010-05-23T19:56:56Z
Indexed on
2010/05/23
20:11 UTC
Read the original article
Hit count: 96
Filed under:
c
I need to write a C program that has a parent and n
children that act as follows:
- Parent process:
- Reads a value
n
from the user - Forks
n
children - Waits to receive exit code from the first child and prints it
- Loops forever
- Reads a value
© Stack Overflow or respective owner